package com.hspedu.spring.annotation1;

import com.hspedu.spring.annotation.HspSpringApplicationContext;

/**
 * @Author： charliechou
 * @Date： 2025/11/5 21:37
 * @Describe：
 */
public class CSpringApplicationContextTest {

    public static void main(String[] args) throws ClassNotFoundException, InstantiationException, IllegalAccessException {
        CSpringApplicationContext ioc =
                new CSpringApplicationContext(CSpringConfig.class);

        System.out.println("ok");
        Object myComponent = ioc.getBean("myComponent");
        System.out.println(myComponent);


    }
}
